﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dandan
{
    class LoginData
    {
        private static LoginData Login = null;//提供私有静态实例对象
        public static LoginData GetLoginData()
        {
            if (Login == null)
            {
                Login = new LoginData();
            }
            return Login;
        }

        public static void SetLoginData(LoginData Data)
        {
            Login = Data;
        }

        public string status;
        public string code;
        public TokenData data;
    }

    class TokenData
    {
        public string token;
        public string expires_in;
        public string refresh_token;
    }
}
